package com.xxdh.service;

import com.xxdh.domain.dto.CourseDto;
import com.xxdh.domain.po.Course;
import com.xxdh.domain.vo.CourseVo;

import java.util.List;
import java.util.Map;

public interface ICourseService {
    void addCourse(CourseDto courseDto);

    void deleteCourseByCourseId(String courseId);

    List<Course> getCourseListByTeacherId(Long teacherId);

    Map<String, List<CourseVo>> getCourseListByUserId();

    void selectCourse(String courseId);

    List<Long> getStudentIdListByTeacherId(Long teacherId);

    Course getCourseById(Long courseId);

    List<Long> getStudentIdListByCourseId(Long courseId);

    Map<String, List<CourseVo>> getCourseListMapByTeacherId(Long teacherId);

    List<CourseVo> getNotSelectedCourseListByStudentId(Long userId);
}
